draw2d.FieldTypeModelBoolean=function(_318f){
draw2d.FieldTypeModel.call(this,draw2d.FieldModel.DBTYPE_BOOLEAN);
this.defaultValue=_318f;
};
draw2d.FieldTypeModelBoolean.prototype.type="draw2d.FieldTypeModelBoolean";
draw2d.FieldTypeModelBoolean.prototype=new draw2d.FieldTypeModel;
draw2d.FieldTypeModelBoolean.prototype.getDefault=function(){
return this.defaultValue;
};
draw2d.FieldTypeModelBoolean.prototype.setDefault=function(value){
var save=this.getDefault();
if(save==value){
return;
}
this.defaultValue=value;
this.parent.firePropertyChange(PROPERTY_DEFAULT,save,value);
};
draw2d.FieldTypeModelBoolean.prototype.getPersistentAttributes=function(){
var att=draw2d.FieldTypeModel.prototype.getPersistentAttributes.call(this);
att.defaultValue=this.defaultValue;
return att;
};
